package com.lm.service.impl;

import com.lm.dao.LmUserBaseDao;
import com.lm.model.LmUserBase;
import com.lm.service.LmUserBaseService;
import com.meirengu.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * LmUserBase服务实现层
 *
 * @author Mao
 * @create Tue Jun 19 13:29:41 CST 2018
 */
@Service
public class LmUserBaseServiceImpl extends BaseServiceImpl<LmUserBase> implements LmUserBaseService {

    @Autowired
    private LmUserBaseDao lmUserBaseDao;


    /**
     * 查询是否重复
     *
     * @param mobile
     * @return
     */
    public Integer isExist(String mobile) {
        return lmUserBaseDao.isExist(mobile);
    }
}
